home *** CD-ROM | disk | FTP | other *** search
- #
- #
- # A sample of the new, SYSV compatible inittab.
- #
- # (This one runs on my machine every day)
- #
- # Level to run in. Set to 5 or 6 to allow serial port logins.
- # If you comment this out, the system will ask you for a runlevel
- # when it is booted.
- #
- id:4:initdefault:
- #
- # Sysinit: takes place only once, right after system boot, *before*
- # possibly going single-user.
- #
- si::sysinit:/sbin/accesscntl
- #
- # boot & bootwait take place once too, but *after* possibly going
- # single user.
- #
- rc::bootwait:/etc/rc.d/rc.S
- #
- # Run the cron deamon.
- #
- #cr::boot:/usr/bin/cron
- #
- # Normal levels: 1-4 = virtual consoles 5,6 = COM ports.
- # Ofcourse you can change this to suit your taste.
- #
- # BEWARE: where is your getty? in /bin or in /etc?
- #
- 1:1234:respawn:/bin/agetty 38400 tty1
- 2:1234:respawn:/bin/agetty 38400 tty2
- 3:1234:respawn:/bin/agetty 38400 tty3
- 4:1234:respawn:/bin/agetty 38400 tty4
- 5:1234:respawn:/bin/agetty 38400 tty5
- 6:1234:respawn:/bin/agetty 38400 tty6
- 7:1234:respawn:/bin/agetty 38400 tty7
- 8:1234:respawn:/bin/agetty 38400 tty8
- #
- # The powerfail routines, that take care of a graceful shutdown.
- # In our case, CTRL-ALT-DEL was pressed.
- #
- pf::powerwait:/bin/shutdown -rf now > /dev/console < /dev/console 2>&1
- #
- ca::ctrlaltdel:/etc/rc.d/rc.6
-